import {postData} from "./http";

export const searchFormatByPage = (currentPage,size,data) => postData(`/demandFormat/searchFormatByPage?currentPage=${currentPage}&size=${size}`, data);

export const searchFormatById = (data) => postData(`/demandFormat/searchFormatById`, data);

export const changeFormatById = (data) =>postData(`/demandFormat/changeFormatById`, data);

export const addFormat = (data) =>postData(`/demandFormat/addFormat`, data);

export const deleteFormatById = (data) =>postData(`/demandFormat/deleteFormatById`, data);
